
<div id="form-container">
    <h2>Area Riservata</h2>
    
	<form action="index.php?mod=login&act=login" id="loginForm" method="post">
		<p>
		<label for="username">Username</label>
			<input type="text" name="username" required="required" minlength="4" />
		</p>
		<p>
		<label for="pwd">Password</label>
			<input type="password" name="pwd" required="required" minlength="8" />
		</p>
		<p>
		<input type="submit" value="Accedi"/>
		</p>
	</form>
	
	<script type="text/javascript">
	$(document).ready(function() {
		$("#loginForm").validate();
	});
	</script>
</div>